get sum of two arrays java